
#ifndef QV_UTILS_H
#define QV_UTILS_H

#include "qv_local.h"

/* Function declarations */
char *generateBotName(int round, char *botType, int id);
float randQV(float min, float max);
float randGauss(float mu, float sigma);

float minQV(float a, float b);
float maxQV(float a, float b);

void setFixedFileGens(char *botName, int botIndex, QV_genData *genData);

char *getRandomBotCharact(int botCharNum);
char *getGaussBotCharact(int botCharNum, char *oldValue);
void generateRandomGens(QV_genData *genData, int botNum, char* botName);

char *getRandomItemWeight(int botCharNum);
char *getGaussItemWeight(int botCharNum, char *oldValue);
void generateRandomItemWeigths(QV_genData *genData, int botNum);

void writeNewBotFiles(QV_genData *newGenData);

int isIntCharacts(int botCharNum);
int isFloatCharacts(int botCharNum);
int isStringCharacts(int botCharNum);

#endif
